<!doctype html>
<html lang="zh">
<head>
	<meta http-equiv="content-type" content="text/html;charset=utf8">
	<title>管理</title> 
	<meta name="description" content="">
	<meta name="author" content="">
	<link rel="stylesheet" type="text/css" href="/js/hw.css?v=12-3" media="screen, projection" />
	<link rel="stylesheet" type="text/css" href="/js/hw_admin.css?v=12-3" media="screen, projection" />
	<script type="text/javascript" src="/js/jquery-1.6.1.min.js"></script>
	<!--[if IE]>
	<script type="text/javascript">
	(function(){if(!/*@cc_on!@*/0)return;
	var e = "abbr,article,aside,audio,bb,canvas,datagrid,datalist,details,dialog,eventsource,figure,footer,hgroup,header,mark,menu,meter,nav,output,progress,section,time,video".split(','),
	i=0,
	length=e.length;
	while(i<length){
		document.createElement(e[i++])
	}
	})();
	</script>
	<![endif]-->
	<script language=javascript src="/js/h.js"	type=text/javascript></script>
	<script>
		$(function(){
			$('#firstmenu a').hover(function(){
					//$('#submenu').show('slow');
				},function(){
					//$('#submenu').hide('slow');
					});
		});
	</script>
	<?php 
		if(isset($js)){
			if(is_array($js)){
				foreach ($js as $j){
					echo '<script language=javascript src="/js/default/'.$j.'.js"	type=text/javascript></script>';
				}
			}else{
				echo '<script language=javascript src="/js/default/'.$js.'.js"	type=text/javascript></script>';
			}
		}
	?>
</head>
<body>
<div id="top_header">
<div id="user-login">
	<?php 
//	var_dump($user_data);
	$user_log = $this->session->all_userdata();
	if(isset($user_log['username'])){
		echo $user_log['username'], '<a href="/member/logout" >退出</a>';
	}else{
		echo '<a href="/member/login">登录</a>/
		<a href="/member/reg">注册</a>';
	}
	?>
		
	</div>
</div>
<div id="wrapper">
	<header class="head-all">
	<div id="logo" class="logo-left"><a href="/" style="display:block">Jia Jiao</a></div>	
	
	<nav>
		<ul id="firstmenu">
		<li  id="nav1"><a href="/order/home.html" class="abgblue">找学生</a></li>
		<li  id="nav2"><a href="/teacher">找老师</a></li>
		<li  id="nav3"><a href="/order/home.html">家教随笔</a></li> 
		<li  id="nav4"><a href="/order/home.html" title="您希望网站可以做？">？</a></li>
		</ul>
		<ul id="submenu">
			<li><a href="/source">资源管理</a></li>
			<li><a href="/order/home.html">sub2</a></li>
			<li><a href="/order/home.html">sub3</a></li>
			<li><a href="/order/home.html">sub4</a></li>
		</ul>
	</nav>
	</header>
	<div id="content">